"""
@File    : People.py
@Author  : WorldWind(1772830365@qq.com)
@Time    : 2025/7/14
@Address : ChangSha - BoWeiFeng
@Date    : 2025/7/14 上午11:06
"""


class People:
    __money = 0

    def __init__(self):
        print('This is __init__ method. People class startup')

    def __smoke(self):
        print(f'This is __smoke method. __money = {self.__money}')
        return self.__money

    def show(self):
        print(f'访问私有类属性:__money = {self.__money}')
        print(f'访问私有方法:__smoke = {self.__smoke()}')

    def __del__(self):
        print('This is __del__ method. The People class has been recycled')


p = People()
p.show()
